// pages/poster/poster.js
Page({

    /**
     * 页面的初始数据
     */
    data: {

    },

    /**
     * 生命周期函数--监听页面加载
     */
    onLoad: function (options) {

    },

    genPoster(){
        let img1 = 'https://community.afocus.net/cdn/uploadImage/ol/sx/i4uzvovq.png'
        let img2 = 'https://community.afocus.net/cdn/uploadImage/ol/sx/i4uzvovq.png'
        let $poster = this.selectComponent('#poster');
        $poster.genPoster({
            img1,
            img2
        })
    }
})